package com.tarena.demo.luban.all.main;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@MapperScan("com.tarena.demo.luban.all.main.mapper")
//加载资源路径 ,就是当前项目 classLoarder根路径
//打成jar包运行  classes文件夹
//idea运行 target/classes/dubbo.xml
@ImportResource("dubbo.xml")
public class CartMain {
    public static void main(String[] args) {
        //run方法执行完，spring启动结束了
        SpringApplication.run(CartMain.class,args);
        //UNDO PROVIDER 相关dubbo api
    }
}
